package CardDemo;

import java.util.List;

public class Test {
    public static void main(String[] args) {
        Game game = new Game();
        List<Card> cardList = game.createCards();
        System.out.println("初始牌" + cardList);
        game.shuffle(cardList);
        System.out.println("洗后牌" + cardList);
        List<List<Card>> hand = game.play(cardList);
        for (int i = 0; i < hand.size(); i++) {
            System.out.println("第"+(i+1)+"个人的牌是"+hand.get(i));
        }
        System.out.println("剩余的牌："+cardList);
    }
}
